from django.contrib import admin
from gxxx.models import *


@admin.register(Gxxx0701)
class Gxxx0701Admin(admin.ModelAdmin):
    list_display = ['xgh', 'bgdh', 'gddh', 'yddh', 'dh', 'dzxx', 'qq', 'wx', 'priority', 'source', 'lock', 'update_time']
    list_filter = ['priority', 'lock', 'source', 'update_time']
    search_fields = ['xgh', 'bgdh', 'gddh', 'yddh', 'dh', 'dzxx', 'qq', 'wx']
    ordering = ['-update_time']
